<template>
  <div>
    <a-form style="margin: 40px auto 0;">
      <result title="$t('stepFormStep3.czcg')" :is-success="true" description="$t('stepFormStep3.yjlxsndz')" style="max-width: 560px;">
        <div class="information">
          <a-row>
            <a-col :sm="8" :xs="24">{{ $t('stepFormStep3.fkzh') }}：</a-col>
            <a-col :sm="16" :xs="24">ant-design@alipay.com</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">{{ $t('stepFormStep3.skzh') }}：</a-col>
            <a-col :sm="16" :xs="24">test@example.com</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">{{ $t('stepFormStep3.skrxm') }}：</a-col>
            <a-col :sm="16" :xs="24">{{ $t('stepFormStep3.hy') }}</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">{{ $t('stepFormStep3.zzje') }}：</a-col>
            <a-col :sm="16" :xs="24"><span class="money">500</span> {{ $t('stepFormStep3.y') }}</a-col>
          </a-row>
        </div>
        <div slot="action">
          <a-button type="primary" @click="finish">{{ $t('stepFormStep3.zzyb') }}</a-button>
          <a-button style="margin-left: 8px" @click="toOrderList">{{ $t('stepFormStep3.ckzd') }}</a-button>
        </div>
      </result>
    </a-form>
  </div>
</template>

<script>
import { Result } from '@/components'

export default {
  name: 'Step3',
  components: {
    Result
  },
  data () {
    return {
      loading: false
    }
  },
  methods: {
    finish () {
      this.$emit('finish')
    },
    toOrderList () {
      this.$router.push('/list/table-list')
    }
  }
}
</script>
<style lang="less" scoped>
  .information {
    line-height: 22px;

    .ant-row:not(:last-child) {
      margin-bottom: 24px;
    }
  }
  .money {
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
  }
</style>
